---
title: SQL-004: SAIF attorney code list
summary: SAIF attorney code list
status: draft
owner: SAIF Documentation Generator
last_reviewed: 2026-08-21
library: SAIF.Application.Claim.Legal
reference_type: embedded
---

# SQL-004 SAIF attorney code list

Inline (const ATTORNEYLISTSQL → GetCodeCollection) for `clsAttorneyTableManager`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-004 |
| **Operation type** | Read |
| **Execution method** | Inline (const ATTORNEYLISTSQL → GetCodeCollection) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsAttorneyTableManager` |
| **Criteria property** | N/A |
| **Lifecycle method** | AttorneyList property getter |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [ADP_EMPLOYEE](../database-tables.md#adp_employee) | SELECT | See [database table section](../database-tables.md#adp_employee) |
| [ATTORNEY_PROFILE](../database-tables.md#attorney_profile) | SELECT | See [database table section](../database-tables.md#attorney_profile) |

## Sample SQL

```sql
SELECT
  PROFILE_EMPLID As code,
  LAST_NAME || ', ' || decode(nvl(preferred_name, ' '), ' ', FIRST_NAME, preferred_name) AS code_descr
FROM ADP_EMPLOYEE A,
  ATTORNEY_PROFILE P
WHERE A.EMPLID = P.PROFILE_EMPLID
```

## Operations and processes
- Attorney table maintenance — SAIF attorney picklist



## Sources
- clsAttorneyTableManager.vb
